﻿function setDivPesquisar() {
    document.getElementById("div_pesquisar").className = "tab-pane active";
    document.getElementById("div_editar").className = "tab-pane ";
    document.getElementById("div_cadastrar").className = "tab-pane ";

    document.getElementById("li_pesquisar").className = "active";
    document.getElementById("li_editar").className = "";
    document.getElementById("li_cadastrar").className = "";

}

function setDivEditar() {
    document.getElementById("div_pesquisar").className = "tab-pane ";
    document.getElementById("div_editar").className = "tab-pane active";
    document.getElementById("div_cadastrar").className = "tab-pane ";


    document.getElementById("li_pesquisar").className = "";
    document.getElementById("li_editar").className = "active";
    document.getElementById("li_cadastrar").className = "";
}

function setDivCadastrar() {
    document.getElementById("div_pesquisar").className = "tab-pane ";
    document.getElementById("div_editar").className = "tab-pane ";
    document.getElementById("div_cadastrar").className = "tab-pane active";

    document.getElementById("li_pesquisar").className = "";
    document.getElementById("li_editar").className = "";
    document.getElementById("li_cadastrar").className = "active";
}